package org.xhy.hrm.dto;

import lombok.Data;
import org.xhy.hrm.domain.Employee;
import org.xhy.hrm.domain.Tenant;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;

@Data
public class TenantEnteringDto {
    @Valid
    private Employee employee;
    @Valid
    private Tenant tenant;
    @NotNull(message = "请选择套餐")
    private Long mealId;
}
